﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;

namespace GrayParrot.Web.Formly
{
    /// <summary>
    /// The Date Template Options Attribute...
    /// </summary>
    public class DateTemplateOptionsAttribute : TemplateOptionsAttribute
    {
        /// <summary>
        /// Gets or sets the datepicker popup.
        /// </summary>
        /// <value>
        /// The datepicker popup.
        /// </value>
        [JsonProperty(PropertyName = "datepickerPopup", DefaultValueHandling = DefaultValueHandling.Ignore)]
        public string DatepickerPopup { get; set; }

        /// <summary>
        /// Initializes a new instance of the <see cref="DateTemplateOptionsAttribute"/> class.
        /// </summary>
        public DateTemplateOptionsAttribute()
        {

        }
    }
}
